package Code.Basic.AI.Pathfinding;

import java.awt.geom.Line2D;

public class Connection
{
	protected Line2D theLine;
	
	Connection(Line2D line)
	{
		theLine = line;
	}
	
	public boolean doesLineCrossConnection(Line2D line)
	{
		return theLine.intersectsLine(line);
	}
}
